package com.gsc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gsc.domain.ResponseResult;
import com.gsc.domain.dto.RoleDto;
import com.gsc.domain.vo.AddRoleVo;
import com.gsc.domain.dto.RoleListDto;
import com.gsc.domain.entity.Role;
import com.gsc.domain.vo.PageVo;

import java.util.List;


/**
 * 角色信息表(Role)表服务接口
 *
 * @author makejava
 * @since 2023-02-16 13:59:49
 */
public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(Long id);

    PageVo selectRoleList(Integer pageNum, Integer pageSize, RoleListDto roleListDto);

    ResponseResult addRole(AddRoleVo addRoleVo);

    ResponseResult updateRole(RoleDto roleDto);

    List<Role> listAllRole();

}
